﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NCMIS.ObjectModel.Rest
{
    /// <summary>
    /// Holds CMIS Content Types (Media Types).
    /// </summary>
    public static class CmisContentType
    {
        /// <summary>
        /// Content type for ACL (application/cmisacl+xml).
        /// </summary>
        public static string Acl = "application/cmisacl+xml";
        /// <summary>
        /// Content type for Allowable Actions (application/cmis+xml;type=allowableActions).
        /// </summary>
        public static string AllowableActions = "application/cmis+xml;type=allowableActions";
        /// <summary>
        /// Content type for Atom Entry (application/atom+xml;type=entry).
        /// </summary>
        public static string Entry = "application/atom+xml;type=entry";
        /// <summary>
        /// Content type for Atom Feed (application/atom+xml;type=feed).
        /// </summary>
        public static string Feed = "application/atom+xml;type=feed";
        /// <summary>
        /// Content type for AtomPub Service Document (application/atomsvc+xml).
        /// </summary>
        public static string Service = "application/atomsvc+xml";
        /// <summary>
        /// Content type for CMIS query (application/cmisquery+xml).
        /// </summary>
        public static string Query = "application/cmisquery+xml";
        /// <summary>
        /// Content type for binary file stream (application/octet-stream).
        /// </summary>
        public static string Stream = "application/octet-stream";
        /// <summary>
        /// Content type for plain text (text/plain).
        /// </summary>
        public static string Text = "text/plain";
        /// <summary>
        /// Content type for CMIS Tree (application/cmistree+xml).
        /// </summary>
        public static string Tree = "application/cmistree+xml";
        /// <summary>
        /// Content type for plain XML (text/xml).
        /// </summary>
        public static string Xml = "text/xml";
    }
}
